package org.jeecg.modules.inventory.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

/**
 * @Description: 库存管理
 * @Author: jeecg-boot
 * @Date:   2024-07-01
 * @Version: V1.0
 */
@Data
public class BussInventoryLedger implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**仓库*/
	@Excel(name = "仓库", width = 15, dictTable = "erp_warehouse", dicText = "name", dicCode = "id")
    @Dict(dictTable = "erp_warehouse", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "仓库")
    private String warehouseId;
	/**物料分类*/
	@Excel(name = "物料种类", width = 15, dictTable = "erp_goods_category", dicText = "name", dicCode = "code")
    @Dict(dictTable = "erp_goods_category", dicText = "name", dicCode = "code")
    @ApiModelProperty(value = "物料分类")
    private String categoryCode;
	/**物料状态*/
	@Excel(name = "物料状态", width = 15, dicCode = "dict_item_status")
    @Dict(dicCode = "dict_item_status")
    @ApiModelProperty(value = "物料状态")
    private String status;
	/**物料ID*/
//	@Excel(name = "物料ID", width = 15,isColumnHidden = true)
    @ApiModelProperty(value = "物料ID")
    private String materialId;
	/**物料编号*/
	@Excel(name = "物料编号", width = 15)
    @ApiModelProperty(value = "物料编号")
    private String materialCode;
    /**客户物料编号*/
    @Excel(name = "客户物料编号", width = 15)
    @ApiModelProperty(value = "客户物料编号")
    private String customerMaterialCode;
	/**物料名称*/
	@Excel(name = "物料名称", width = 15)
    @ApiModelProperty(value = "物料名称")
    private String materialName;
	/**规格型号*/
	@Excel(name = "规格型号", width = 15)
    @ApiModelProperty(value = "规格型号")
    private String noneSpec;
	/**主计量单位*/
	@Excel(name = "主计量单位", width = 15, dicCode = "ji_unit")
    @Dict(dicCode = "ji_unit")
    @ApiModelProperty(value = "主计量单位")
    private String meUnit;
    /**期末余额数量*/
    @Excel(name = "期末余额数量", width = 15)
    @ApiModelProperty(value = "期末余额数量")
    private java.math.BigDecimal endingBalanceQuantity;
	/**本期收到数量*/
	@Excel(name = "本期收到数量", width = 15)
    @ApiModelProperty(value = "本期收到数量")
    private java.math.BigDecimal receivedQuantity;
    /**本期收到辅助数量*/
    @Excel(name = "本期收到辅助数量", width = 15)
    @ApiModelProperty(value = "本期收到辅助数量")
    private java.math.BigDecimal receivedAuQuantity;
	/**本期发出数量*/
	@Excel(name = "本期发出数量", width = 15)
    @ApiModelProperty(value = "本期发出数量")
    private java.math.BigDecimal issuedQuantity;
    /**本期发出辅助数量*/
    @Excel(name = "本期发出辅助数量", width = 15)
    @ApiModelProperty(value = "本期发出辅助数量")
    private java.math.BigDecimal issuedAuQuantity;

    /**期末余额辅助数量*/
    @Excel(name = "期末余额辅助数量", width = 15)
    @ApiModelProperty(value = "期末余额辅助数量")
    private java.math.BigDecimal endingBalanceAuQuantity;
	/**期初余额数量*/
	@Excel(name = "期初余额数量", width = 15)
    @ApiModelProperty(value = "期初余额数量")
    private java.math.BigDecimal openingBalanceQuantity;
	/**库存数量*/
	@Excel(name = "库存数量", width = 15)
    @ApiModelProperty(value = "库存数量")
    private java.math.BigDecimal quantity;
	/**辅助单位*/
//	@Excel(name = "辅助单位", width = 15, dicCode = "zl_unit")
    @ApiModelProperty(value = "辅助单位")
    private String auUnit;
	/**辅助数量*/
	@Excel(name = "库存辅助数量", width = 15)
    @ApiModelProperty(value = "辅助数量")
    private java.math.BigDecimal auxiliaryQuantity;

}
